package com.room.mapper;

import com.room.pojo.Manager;
import com.room.pojo.vo.ManagerVO;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ManagerMapper {
    int deleteByPrimaryKey(String managerId);

    int insert(Manager record);

    int insertSelective(Manager record);

    Manager selectByPrimaryKey(String managerId);

    int updateByPrimaryKeySelective(Manager record);

    int updateByPrimaryKey(Manager record);


    @Select("select manager_id as managerId ,manager_name as managerName from manager")
    List<ManagerVO> getManagerInit();
}